﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LuShanTea.IService
{
    public interface ICartService : IServiceSupport
    {
        /// <summary>
        /// 给用户添加购物车
        /// </summary>
        /// <param name="userId"></param>
        /// <returns></returns>
        long AddNew(long userId);
        /// <summary>
        /// 根据用户Id查找购物车Id
        /// </summary>
        /// <param name="userId"></param>
        /// <returns></returns>
        long GetCartIdByUserId(long userId);
    }
}
